loaddefs-generate--rubric: Note about committing ldefs-boot.el
authorSean Whitton <spwhitton@spwhitton.name>
Sat, 26 Jul 2025 09:22:09 +0000 (10:22 +0100)
committerSean Whitton <spwhitton@spwhitton.name>
Sat, 26 Jul 2025 09:22:09 +0000 (10:22 +0100)
* lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate--rubric):
Note that ldefs-boot.el should be committed on its own.

lisp/emacs-lisp/loaddefs-gen.el

index 0f136df1fe2cc7661117bea0696fea3736a3401e..ef692d132b90be15653dcd2879aac4142a185a75 100644 (file)
@@ -546,7 +546,7 @@ If COMPILE, don't include a \"don't compile\" cookie."
        file 'loaddefs-generate
        :title (concat "automatically extracted " (or type "autoloads"))
        :commentary (and (string-match "/lisp/loaddefs\\.el\\'" file)
-                        "This file will be copied to ldefs-boot.el and checked in periodically."))
+                        "This file will be copied to ldefs-boot.el and checked in periodically.  Note: When checking in ldefs-boot.el, don't include changes to any other files in the commit."))
       (when lp
         (insert "(add-to-list 'load-path (directory-file-name
                          (or (file-name-directory #$) (car load-path))))\n\n"))